package com.grts.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.grts.dao.t_Major_CourseBeanMapper;
import com.grts.pojo.t_Major_CourseBeanKey;
import com.grts.service.It_Major_CourseBeanService;
@Service
public class t_Major_CourseBeanServiceImpl implements It_Major_CourseBeanService {
	@Resource
	private t_Major_CourseBeanMapper dao;
	@Override
	public int deleteByPrimaryKey(t_Major_CourseBeanKey key) {
		// TODO Auto-generated method stub
		return dao.deleteByPrimaryKey(key);
	}

	@Override
	public int deleteAllBycid(t_Major_CourseBeanKey key) {
		// TODO Auto-generated method stub
		return dao.deleteAllBycid(key);
	}

	@Override
	public int insert(t_Major_CourseBeanKey record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}

	@Override
	public int insertSelective(t_Major_CourseBeanKey record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public int updateByCid(t_Major_CourseBeanKey record) {
		// TODO Auto-generated method stub
		return dao.updateByCid(record);
	}

	@Override
	public int insert2(Integer a, Integer b) {
		// TODO Auto-generated method stub
		return dao.insert2(a, b);
	}

}
